export function getWeek() {
    let date = new Date()
    let y = date.getFullYear()
    let m = date.getMonth() +1;
    let d = date.getDate()
    let day1 = new Date(y, parseInt(m) - 1, d);
    let day2 = new Date(y, 0, 1);
    let day = Math.round((day1.valueOf() - day2.valueOf()) / 86400000);
    return Math.ceil((day + ((day2.getDay() + 1) - 1)) / 7)
  }

  export const FootList = [
    {
      path: '/movie',
      name: 'movie',
      text: '电影',
      icon: 'icon-dianying'
    },
    {
      path:"/cinema",
      name:"cinema",
      text:"影院",
      icon:"icon-cinema",
    },
    {
      path:"/shop",
      name:"shop",
      text:"商城",
      icon:"icon-shangpin",
      hot:true
    },
    {
      path:"/news",
      name:"news",
      text:"资讯",
       icon:"icon-zixun",
    },
    {
      path:"/mine",
      name:"mine",
      text:"我的",
      icon:"icon-wode"
    }
  ]